#!/usr/bin/env python
# coding=utf-8
from flask import Blueprint

from plant.base.beanret import BeanRet

pitop = Blueprint('state', __name__)


@pitop.route('/state/read')
def read():
    return BeanRet(success=True, data={"device": "plant"}).toJson()
